﻿using PSE.Deployment.SetupBase.Configuration;

namespace PSE.Deployment.ConfigurationManager.Controls
{
	/// <summary>
	/// Controle que instancia uma classe a ser vinculada com um dado de XmlFile
	/// </summary>
	public class XmlFileTreeViewItem : TreeViewItemBase
	{
		XmlFile _xml = null;
		public XmlFile Xml
		{
			get { return _xml; }
			set { _xml = value; }
		}

		public XmlFileTreeViewItem(XmlFile xml, GroupTreeViewItem parentItem) : base(xml.Title, parentItem)
		{
			this.Xml = xml;
		}
	}
}